
import extractContent from '../scene/screen';
// import message from './message'
import monitor from './monitor';
import scene from './scene';

let app = extractContent();

// TODO

function start() {
  if (__websocket_enable__) { // 配置项的
    monitor.connect(app.sid);
  }
  // monitor.connect(app.sid);
  //
  scene.startScene(app.sceneFullName(), app.initParam)
    .catch((e) => {console.error(e)});
}

export default {start};

